

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title><g:message code="jobitem.nav.show" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><g:link class="list" action="list"><g:message code="jobitem.nav.list" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="jobitem.nav.create" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="jobitem.nav.show" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>

                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="jobitem.table.id" />:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:jobItemInstance, field:'id')}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="jobitem.table.job" />:</td>
                            
                            <td valign="top" class="value"><g:link controller="job" action="show" id="${jobItemInstance?.job?.id}">${jobItemInstance?.job?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="jobitem.table.price" />:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:jobItemInstance, field:'price')}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="jobitem.table.product" />:</td>
                            
                            <td valign="top" class="value"><g:link controller="product" action="show" id="${jobItemInstance?.product?.id}">${jobItemInstance?.product}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="jobitem.table.quantity" />:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:jobItemInstance, field:'quantity')}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="jobitem.table.staff" />:</td>
                            
                            <td valign="top" class="value"><g:link controller="staff" action="show" id="${jobItemInstance?.staff?.id}">${jobItemInstance?.staff?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="jobitem.table.status" />:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:jobItemInstance, field:'status')}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="jobitem.table.value" />:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:jobItemInstance, field:'value')}</td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <input type="hidden" name="id" value="${jobItemInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" value="${message(code:'common.button.edit')}" action="edit"/></span>
                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('${message(code:'common.delete.confirm')}');" value="Delete"/></span>
                </g:form>
            </div>
        </div>
    </body>
</html>
